package com.cy.service;

import com.cy.entity.PayWay;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenyi
 * @email qq228112142@qq.com
 * @date 2017-08-10 08:56:33
 */
public interface PayWayService {
	
	PayWay queryObject(Long id);
	
	List<PayWay> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(PayWay payWay);
	
	void update(PayWay payWay);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);

    List<PayWay> findByCode(String code);
}
